package org.wlw.service;

import org.wlw.models.User;

import java.util.List;

public interface IUserService {
    public void add(User t);
    public void update(User t);
    public void delete(int id);
    public User load(int id);
    public List<User> find();

    public User loadByUsername(String username);

    public User login(String username,String password);
}
